Remove special handling of MSVC from types.h now that we can rely on a grown-up
authorrobertlipe <robertlipe@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Fri, 12 Jul 2013 21:55:23 +0000 (21:55 +0000)
committerrobertlipe <robertlipe@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Fri, 12 Jul 2013 21:55:23 +0000 (21:55 +0000)
inttypes.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4424 f51c46e8-681c-474f-0cfe-069cfd0219fb

gpsbabel/gbtypes.h

index fb8a89c367b05b86c0fdb395b05286c4e2d58a66..01b52b3134094e3ac737ef62f00adb1e2ee37f2e 100644 (file)
 #ifndef gb_types_h_included
 #define gb_types_h_included
 
-
-/*
- *  If this is a problem and any interesting system doesn't have the C99-ism
- *  of <stdint.h> we'll come up with something more clever that'll likely
- *  include a gross collection of  __STDC_VERSION >= 199901L  || __GNUC__
- */
-
-#if defined(_MSC_VER)
-
-typedef unsigned long gbuint32;
-typedef unsigned short gbuint16;
-typedef int gbint32;
-typedef short gbint16;
-#include <stdint.h>
-
-#else
-
 # if defined (__FreeBSD__)
 #  include <inttypes.h>
 # else
@@ -50,8 +33,6 @@ typedef uint16_t      gbuint16;
 typedef  int32_t        gbint32;
 typedef  int16_t        gbint16;
 
-#endif /* defined(_MSC_VER) */
-
 typedef gbuint32       gbsize_t;
 typedef unsigned char  gbuint8;
 typedef signed char    gbint8;